<link href="${rc.getContextPath()}/static/css/dwzCustomCss/dwz.custom.css?v=${ver}" rel="stylesheet" type="text/css">
<#include "/common/pagerForm.html">
<form rel="pagerForm" method="post" action="${rc.getContextPath()}/user/userLookUp" onsubmit="return dialogSearch(this)">
    <div class="pageHeader">
        <div class="searchBar">
            <ul class="searchContent">
                <li><label id="userCode"><@label key="userCode.C,colon">用户编码：</@label></label> <input type="text" name="userCode" value="${condition.userCode!''}" /></li>
                <li><label><@label key="userTypeCode.C,colon">用户类型：</@label></label> <select name="userTypeECode">
                        <option value=""><@label key="all.C">所有</@label></option> <#list userType as types>
                        <option value="${types.eCode}"<#if condition.userTypeECode?? && condition.userTypeECode == types.eCode> selected="selected"</#if>>${types.eCodeText}</option> </#list>
                </select></li>
                <li><label><@label key="lockFlag.C,colon">锁定标志：</@label></label> <select name="lockFlag">
                        <option value=""><@label key="all.C">所有</@label></option>
                        <option value="0"<#if condition.lockFlag?? && condition.lockFlag == 0> selected="selected"</#if>><@label key="no.C">否</@label></option>
                        <option value="1"<#if condition.lockFlag?? && condition.lockFlag == 1> selected="selected"</#if>><@label key="yes.C">是</@label></option>
                </select></li>
            </ul>
            <ul class="searchContent" style="height: 30px;">
                <li><label id="userText"><@label key="userText.C,colon">用户描述：</@label></label> <input type="text" name="userText" value="${condition.userText!''}" /></li>
                <li><label><@label key="systemFlag.C,colon">系统内置：</@label></label> <select name="systemFlag">
                        <option value=""><@label key="all.C">所有</@label></option>
                        <option value="0"<#if condition.systemFlag?? && condition.systemFlag == 0> selected="selected"</#if>><@label key="no.C">否</@label></option>
                        <option value="1"<#if condition.systemFlag?? && condition.systemFlag == 1> selected="selected"</#if>><@label key="yes.C">是</@label></option>
                </select>
                </li>
                <li class="query">
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit"><@label key="query.B">查询</@label></button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </div>
</form>
<div class="pageContent">
    <table class="table border" width="100%" layoutH="140">
        <thead>
            <tr>
                <th width="100" orderField="userCode"<#if (page.orderField?? && page.orderField == 'userCode')>class="${page.orderDirection!''}"</#if>><@label key="userCode.C">用户编码</@label></th>
                <th width="100" orderField="userText"<#if (page.orderField?? && page.orderField == 'userText')>class="${page.orderDirection!''}"</#if>><@label key="userText.C">用户描述</@label></th>
                <th width="100" orderField="userTypeECode"<#if (page.orderField?? && page.orderField == 'userTypeECode')>class="${page.orderDirection!''}"</#if>><@label key="userTypeCode.C">用户类型</@label></th>
                <th width="100" orderField="systemFlag"<#if (page.orderField?? && page.orderField == 'systemFlag')>class="${page.orderDirection!''}"</#if>><@label key="systemFlag.C">系统内置</@label></th>
                <th width="50" orderField="lockFlag"<#if (page.orderField?? && page.orderField == 'lockFlag')>class="${page.orderDirection!''}"</#if>><@label key="lockFlag.C">锁定标志</@label></th>
                <th width="60" orderField="createUser"<#if (page.orderField?? && page.orderField == 'createUser')>class="${page.orderDirection!''}"</#if>><@label key="createUser.C">创建人</@label></th>
                <th width="120" orderField="createDateTime"<#if (page.orderField?? && page.orderField == 'createDateTime')>class="${page.orderDirection!''}"</#if>><@label key="createDateTime.C">创建时间</@label></th>
                <th width="60" orderField="modifyUser"<#if (page.orderField?? && page.orderField == 'modifyUser')>class="${page.orderDirection!''}"</#if>><@label key="modifyUser.C">修改人</@label></th>
                <th width="120" orderField="modifyDateTime"<#if (page.orderField?? && page.orderField == 'modifyDateTime')>class="${page.orderDirection!''}"</#if>><@label key="modifyDateTime.C">修改时间</@label></th>
                 <th width="100"><@label key="selected_first.C">请选择</@label></th>
            </tr>
        </thead>
        <tbody>
            <#if page??><#if (page.data?size>0)> <#list page.data as user>
            <tr target="user_code" rel="${user.userCode!''}">
                <td>${user.userCode!''}</td>
                <td>${user.userText!''}</td>
                <td>${user.userTypeText!''}</td>
                <td><#if user.systemFlag == 0><@label key="no.C">否</@label><#else><@label key="yes.C">是</@label></#if></td>
                <td><#if user.lockFlag == 0><@label key="no.C">否</@label><#else><@label key="yes.C">是</@label></#if></td>
                <td>${user.createUser!''}</td>
                <td>${user.createDateTime?string("yyyy-MM-dd HH:mm:ss")}</td>
                <td>${user.modifyUser!''}</td>
                <td>${user.modifyDateTime?string("yyyy-MM-dd HH:mm:ss")}</td>
                <td><a class="btnSelect bringBack" value="{userCode:'${user.userCode!''}',userText:'${user.userText!''}'}" >选择</a></td>
            </tr>
            </#list> <#else>
            <tr target="user_id">
                <td colspan="10" class="noData">======<@label key="noListData.C">列表无数据</@label>=====</td>
            </tr>
            </#if> <#else>
            <tr target="user_id">
                <td colspan="10" class="noData">======<@label key="noListData.C">列表无数据</@label>=====</td>
            </tr>
            </#if>
        </tbody>
    </table>
    <#include "/common/dialogPanelBar.html">
</div>